home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / S-Sh / SCB 4.0.cpt / Script Cat Burglar 4.0 / card_2746.txt < prev    next >
Text File  |  1988-03-21  |  2KB  |  56 lines

  1. -- card: 2746 from stack: in.0
  2. -- bmap block id: 0
  3. -- flags: 4000
  4. -- background id: 2227
  5. -- name: Hide/Show Fields
  6.  
  7.  
  8. -- part contents for background part 2
  9. ----- text -----
  10. Hide/Show Fields
  11.  
  12. -- part contents for background part 3
  13. ----- text -----
  14. This Stack
  15.  
  16. -- part contents for background part 13
  17. ----- text -----
  18. Button
  19.  
  20. -- part contents for background part 14
  21. ----- text -----
  22. The scripts in this stack are included as an examples.  There are some of those I wrote during the process of creating this stack.  None of them are very complex.  Some may be totally inefficient.  This is script is for the button that displayed this text field
  23.  
  24. Note that this field has the "Show Lines" button toggled on to differentiate it from the "Script Holder" Field "below" it.
  25.  
  26.  
  27.  
  28. -- part contents for background part 15
  29. ----- text -----
  30. This stack was designed by     Philip A. Mohr, Jr.    4405 N. Rosemead    Rosemead, CA 91770
  31.  
  32. -- part contents for background part 58
  33. ----- text -----
  34. on mouseUp
  35.   Get the visible of Background field "Additional Notes"
  36.   if it is true then
  37.     hide Background field "Additional Notes"
  38.     hide Background field "Hide Add Notes"
  39.   else
  40.     show Background field "Additional Notes"
  41.     show Background field "Hide Add Notes"
  42.   end if
  43. end mouseUp
  44.  
  45.  
  46. -- part contents for background part 67
  47. ----- text -----
  48. Hide Notes
  49.  
  50. -- part contents for background part 68
  51. ----- text -----
  52. 2746
  53.  
  54. -- part contents for background part 73
  55. ----- text -----
  56. Before I can do that, you   need to give the script   a name.  Sorry.  Try again.